With SSL:
curl -X GET https://puppetdb.example.com:8081/pdb/query/v4/resources \
--tlsv1 \
--cacert /etc/puppet/ssl/certs/ca.pem \
--cert /etc/puppet/ssl/certs/thisnode.pem \
--key /etc/puppet/ssl/private_keys/thisnode.pem \
--data-urlencode query@<filename>
This requires that you specify a certificate (issued by the same CA PuppetDB trusts), a private key, and a CA certificate.
In both examples, <filename> should be a file that contains the query to execute.
-
https://docs.puppetlabs.com/puppetdb/3.1/api/query/tutorial.htmlngrep -itq -W byline -d any '' port 8125|egrep -v '(^U|^$)'|logtop -s 500000
-
https://links.infomee.fr/?X5ZuZQNouvel alias :)
cleanq = "/foreach query /unquery";
-
https://links.infomee.fr/?rNWBCQPour penser à se bouger/s'étirer un peu toutes les heures
-
http://gnomepomodoro.org/Deux binaires arping dispos et bien différents (l'un permet les gratuitous reply, l'autre non). Voici les paquets :
-
https://links.infomee.fr/?EFUIsAvebose(true) do
sh this_verbose_command
end
or
verbose(false) do
sh that_quiet_command
end
-
https://www.ruby-forum.com/topic/168929xm info
xm vcpu-list
xentop -v -b -i1
-
https://links.infomee.fr/?uDAHgw